package com.wits.qso.util;

/**
 * 文件类型枚举
 * @author       chenkaile
 * @createTime   2032-2-19 
 */
public enum FileType {
	WORD2003 {
		public String getValue(){
			return "Word-2003文档";
		}
		public String getStuffix(){
			return "doc";
		}
	},
	EXCEL2003 {
		public String getValue(){
			return "Excel-2003文档";
		}
		public String getStuffix(){
			return "xls";
		}
	},
	PPT2003 {
		public String getValue(){
			return "PPT-2003文档";
		}
		public String getStuffix(){
			return "ppt";
		}
	},
	WORD2007 {
		public String getValue(){
			return "Word-2007文档";
		}
		public String getStuffix(){
			return "docx";
		}
	},
	EXCEL2007 {
		public String getValue(){
			return "Excel-2007文档";
		}
		public String getStuffix(){
			return "xlsx";
		}
	},
	PPT2007 {
		public String getValue(){
			return "PPT-2007文档";
		}
		public String getStuffix(){
			return "pptx";
		}
	},
	TXT {
		public String getValue(){
			return "记事本文档";
		}
		public String getStuffix(){
			return "txt";
		}
	},
	JPG {
		public String getValue(){
			return "JPG图片";
		}
		public String getStuffix(){
			return "jpg";
		}
	},
	GIF {
		public String getValue(){
			return "GIF图片";
		}
		public String getStuffix(){
			return "gif";
		}
	},
	PNG {
		public String getValue(){
			return "PNG图片";
		}
		public String getStuffix(){
			return "png";
		}
	},
	BMP {
		public String getValue(){
			return "BMP图片";
		}
		public String getStuffix(){
			return "bmp";
		}
	},
	RAR {
		public String getValue(){
			return "RAR压缩文件";
		}
		public String getStuffix(){
			return "rar";
		}
	},
	ZIP {
		public String getValue(){
			return "ZIP压缩文件";
		}
		public String getStuffix(){
			return "zip";
		}
	};
	public abstract String getValue();
	
	public abstract String getStuffix();
}

